Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Correct include dir for libslang #5539

Merged
merged 3 commits into from
Nov 14, 2024

Conversation

expipiplus1
Copy link
Collaborator

@expipiplus1 expipiplus1 commented Nov 12, 2024

technically a breaking change, but anyone using the old behaviour ought to change includes from <include/slang.h> to just <slang.h>

@expipiplus1 expipiplus1 added the kind:bug something doesn't work like it should label Nov 12, 2024
@expipiplus1 expipiplus1 added this to the Q1 2025 (Winter) milestone Nov 12, 2024
@expipiplus1 expipiplus1 self-assigned this Nov 12, 2024
@expipiplus1 expipiplus1 requested a review from a team as a code owner November 12, 2024 08:34
@expipiplus1 expipiplus1 added the pr: breaking change PRs with breaking changes label Nov 12, 2024
@expipiplus1 expipiplus1 force-pushed the push-ymkrkzlpqwzx branch 3 times, most recently from fa03b14 to 4d67630 Compare November 12, 2024 09:09
jkwak-work
jkwak-work previously approved these changes Nov 12, 2024
Copy link
Collaborator

@jkwak-work jkwak-work left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me

@csyonghe
Copy link
Collaborator

Can you provide more context on why this PR is needed?

@expipiplus1
Copy link
Collaborator Author

ah sure, that was in the commit message but didn't make it into the PR desc:

This stops adding the repo root to the include path for anything linking
with slang. This enabled a bunch of convenient includes, but might lead
to confusing behavior for anyone including slang. Not to mention
differences including it from an install vs source.

Somebody already hit this in fact: #5481 (comment)

@expipiplus1
Copy link
Collaborator Author

(ci failure is simple, I can get to that and it reflects something wrong in our build system not falcor's usage of it)

This stops adding the repo root to the include path for anything linking
with slang. This enabled a bunch of convenient includes, but might lead
to confusing behavior for anyone including slang. Not to mention
differences including it from an install vs source.
@csyonghe csyonghe merged commit 7b570fe into shader-slang:master Nov 14, 2024
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind:bug something doesn't work like it should pr: breaking change PRs with breaking changes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants